package com.dianning.dao.hibernate;

import org.springframework.orm.hibernate3.support.*;

import com.dianning.bean.Config;
import com.dianning.dao.ConfigDAO;

import java.util.List;


public class ConfigHibernateDAO extends HibernateDaoSupport implements ConfigDAO {


	/**
	   * 根据ID查找Config对象
	   * @param id String
	   * @return Config
	   */
  public Config findConfigByID(String id) {
    return (Config)this.getHibernateTemplate().get(Config.class, id);
  }


}
